package ltd.newbee.mall.service.impl;

import ltd.newbee.mall.api.mall.vo.SpuValueVO;
import ltd.newbee.mall.dao.SpuValueMapper;
import ltd.newbee.mall.entity.SpuValue;
import ltd.newbee.mall.service.SpuValueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SpuValueServiceImpl implements SpuValueService {
    @Autowired
    private SpuValueMapper spuValueMapper;
    @Override
    public List<SpuValueVO> getSpuValueByProductId(Long productId) {
        List<SpuValueVO> splist=spuValueMapper.getSpuByProductId(productId);
        return splist;
    }
}
